Moloni\Services\Orders\CreateCreditNote B

Total Complexity 95
Dependencies 14
Dependents 1
Total lines 651
Lines of code 403
Logical lines of code 196
Comment lines 82
Methods 22
Properties 10

Methods 22

Method Rating Maintainability Complexity Lines of code
closeDocument()
A
40 13 58
setProducts()
A
41 11 60
run()
A
41 11 59
setFees()
A
41 11 56
setShipping()
A
47 7 37
tryToMatchProduct()
S
54 6 21
validateDocument()
S
60 6 12
setBasics()
S
53 4 23
shouldSendByEmail()
S
69 4 6
tryToMatchFee()
S
64 4 9
tryToMatchShipping()
S
65 3 9
shouldCloseDocument()
S
78 2 3
validateUnrelatedProducts()
S
74 2 5
getOrderID()
S
72 2 6
getOrderNumber()
S
72 2 6
__construct()
S
72 1 5
saveRecord()
S
70 1 6
getResults()
S
82 1 3
getOrder()
S
80 1 3
setStopProcess()
S
81 1 3
saveLog()
S
63 1 10
getRefund()
S
80 1 3